﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GearSynth
{
    /// <summary>
    /// A comparer for optimization that can be used for either 
    /// minimization or maximization.
    /// </summary>
    internal class noEqualSort : IComparer<double>
    {
        public int Compare(double x, double y)
        {
            /***** Corinna, I copied this from your code -can't remember which was inequality goes. Please check ****/
            if (x > y) return -1;
            else return 1;
        }
    }

}

